﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Utils
{
    public struct Pair<T1, T2>
    {
        private T1 _first;
        private T2 _second;

        public Pair(T1 first, T2 second)
        {
            _first = first;
            _second = second;
        }

        public T1 First
        {
            get { return (T1)_first; }
            set { _first = value; }     // NOTE: The setter should not be available, but if it isen't defined Silverlight fails to create a proxy!
        }
        public T2 Second { 
            get { return (T2)_second; }
            set { _second = value; }     // NOTE: The setter should not be available, but if it isen't defined Silverlight fails to create a proxy!
        }
    }
}
